package com.heifeng.cloudshelf.mvp.search.contract;

import androidx.viewpager.widget.ViewPager;
import androidx.recyclerview.widget.RecyclerView;

import android.widget.TextView;

import com.heifeng.cloudshelf.base.IBasePresenter;
import com.heifeng.cloudshelf.base.IBaseView;

import java.util.List;

/**
 * Created by admin on 2019/9/16.
 */

public class DetailActivityContract {
    public interface View extends IBaseView {
        RecyclerView getRecyclerView();

        TextView getTvAllNum();

        TextView getTvSelect();

        int getType();

        void setCodeImage(String url);

        void setImageTitle(String title);

        ViewPager getViewPager();

        void setViewImage(String url,String video);
    }

    public interface Presenter extends IBasePresenter<View> {
        void init();

        List<String> getList();

        int getFirstItemPos();

        int getLastItemPos();

        void getHouseTypeInfo(String id);

    }
}
